package com.async.domain.service;


import com.async.domain.entity.AsyncLog;

public interface AsyncLogService {

    /**
     * 保存
     */
    void save(AsyncLog asyncLog);

    /**
     * 删除
     */
    void delete(Long asyncId);

    /**
     * 获取最后一次失败信息
     */
    String getErrorData(Long asyncId);
}
